package cn.zhonghuanzhiyuan.sprc.basicinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 企业装置大修(SafeDeviceOverhaul)实体类
 *
 * @author david
 * @since 2024-02-27 18:53:52
 */
@Data
@Accessors(chain = true)
@Table(name = "safe_device_overhaul")
@ApiModel(value = "SafeDeviceOverhaul", description = "企业装置大修")
public class SafeDeviceOverhaul implements Serializable {
    private static final long serialVersionUID = -58616348387886233L;
    /**
    * 编号
    */
    @ApiModelProperty(value = "编号")
    @Id
    private String id;
    /**
    * 大修名称
    */
    @ApiModelProperty(value = "大修名称")
    private String name;
    /**
    * 装置类型
    */
    @ApiModelProperty(value = "装置类型")
    private String deviceType;
    /**
    * 检修内容
    */
    @ApiModelProperty(value = "检修内容")
    private String content;
    /**
    * 检修原因
    */
    @ApiModelProperty(value = "检修原因")
    private String cause;
    /**
    * (设施负责人)
    */
    @ApiModelProperty(value = "(设施负责人)")
    private String deviceHeadName;
    /**
    * (设施负责人电话)
    */
    @ApiModelProperty(value = "(设施负责人电话)")
    private String deviceHeadPhone;
    /**
    * 开始时间
    */
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;
    /**
    * 计划结束时间
    */
    @ApiModelProperty(value = "计划结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date expectEndTime;
    /**
    * 实际结束时间
    */
    @ApiModelProperty(value = "实际结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date actualEndTime;
    /**
    * 大修责任人
    */
    @ApiModelProperty(value = "大修责任人")
    private String headName;
    /**
    * 大修责任人电话
    */
    @ApiModelProperty(value = "大修责任人电话")
    private String headPhone;
    /**
    * 备注
    */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
    * 审核状态
    */
    @ApiModelProperty(value = "审核状态")
    private String auditStatus;
    /**
    * 审核时间
    */
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date auditDate;
    /**
    * 所属单位
    */
    @ApiModelProperty(value = "所属单位")
    private String orgId;
    /**
    * 排序号
    */
    @ApiModelProperty(value = "排序号")
    private Integer sort;
    /**
    * 更新人
    */
    @ApiModelProperty(value = "更新人")
    private String updateUser;
    /**
    * 更新时间
    */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    /**
    * 创建人
    */
    @ApiModelProperty(value = "创建人")
    private String createUser;
    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

}
